<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="SimFavorite" table="Sim_Favorite" lazy="true" >
    <id name="Id">
      <generator class="identity" />
      <!--<column name="Id" sql-type="int" not-null="true" />-->
    </id>
    <!--<many-to-one insert="false" update="false" lazy="false" name="UserId">
      <column name="UserId" sql-type="int" not-null="false" />
    </many-to-one>-->
    <property name="UserId">
      <column name="UserId" sql-type="int" not-null="false" />
    </property>
    <property name="Title">
      <column name="Title" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Url">
      <column name="Url" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="AddDate">
      <column name="AddDate" sql-type="datetime" not-null="false" />
    </property>
  </class>
</hibernate-mapping>